home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / bllmenu.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  823b  |  32 lines

  1. /*  BLKLINEMENU.H    Block Menu - Menu with buttons.
  2.         After exiting returns number of item in global_num.
  3.     ONE-Line version.
  4. */
  5.  
  6. #ifndef __BLOCK_LINE_MENU_H_
  7. #define __BLOCK_LINE_MENU_H_
  8.  
  9. #include "bl.h"
  10. #include "textmenu.h"
  11.  
  12. class BlockLineMenu : public Bl
  13.     {
  14.     public:
  15.     TextMenu* menu;
  16.  
  17.     BlockLineMenu(rect coordinates, char* fName = "",
  18.            char* HOT = NULL,
  19.            char** ITEMSTRINGS = NULL,
  20.            rect STATUSPOS = rect(0, 24, 79, 25),
  21.            int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
  22.            int* STATUSLIST = NULL,
  23.            BORDERS b_type = SHOW_BORDER,
  24.            int pat = 0, int elem_pat = 0,
  25.                int menu_pat = 0);
  26.  
  27.         virtual void hide();
  28.     void set_pos(int p) { menu->set_pos(p); }
  29.     virtual void rearrange();
  30.     };
  31.  
  32. #endif __BLOCK_LINE_MENU_H_